home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 187_01 / help.c < prev    next >
Text File  |  1985-12-28  |  944b  |  29 lines

  1. /*@*****************************************************/
  2. /*@                                                    */
  3. /*@ help - output help data structure.  Parameter is   */
  4. /*@        assumed to be an array of pointers to       */
  5. /*@        strings giving help.  The last one must     */
  6. /*@        be an empty string.                         */
  7. /*@                                                    */
  8. /*@   Usage:     help(str);                            */
  9. /*@       where str is a pointer to the array.         */
  10. /*@       (see most pgms in CPGMS.ARC).                */
  11. /*@                                                    */
  12. /*@*****************************************************/
  13.  
  14. /*******************************************************/
  15.  
  16. help(hp)
  17. char **hp;  /* dns added extra '*'  */
  18. /*
  19.  * Give good help
  20.  */
  21. {
  22.    register char   **dp;
  23.  
  24.    for (dp = hp; *dp; dp++)
  25.       printf("%s\n", *dp);
  26. }
  27.  
  28.  
  29.